<template>
  <div class="warp containerT">
  	<div class="header">
      <div class="return-icon" @click="back()"></div>
      <div class="name">使用协议</div>
      <div></div>
    </div>

    <div class="protocol-m" v-html="protocolM">

    </div>

  </div>
</template>
<script>

    export default {
    	name: 'protocol',
    	components: {

	    },
    	data () {
      		return {
      			protocolM:''
	      	}
	    },
	    created(){
			this.$axios.post(
              this.$store.state.url+"user_agreement?device_sn="+this.$store.state.device,
              {device_sn:this.$store.state.device}).then(res=>{
                console.log(res.data);
                this.protocolM = res.data.data;
          	});
	    },
	    mounted(){

	    },
	    methods:{
	      	back(){
	        	this.$router.go('-1')
	      	},
          menuToggle(){
            this.menuShow = !this.menuShow;
          }
	    }
  	}
</script>
<style lang="scss" scoped>

</style>
